SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '64e5521fe84fe5bbe9fd0eb583f06261ddb3eed9148b37a733ab71f18af80a67' 
  AND token = 'tUD6ZlbB7UwdRCsqzbUmCNM9Ze9NV9ZaVvVjFy/RTv8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}