SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '45f355ffde1278f0f4f27ead4d05c1ba60bb561e5262920dd39ef209d3199cd1' 
  AND token = 'N2oV0GMp3G8OQ6d+CsF/2KVab6Euj9dU9iy6bcF/Ezc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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