SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ff017869195586bf6713fe08fb2ae7ffe2e0c27ecec7003c8f4a51abd709cc87' 
  AND token = '4E3617zJJUcTvHKdQg6eFbcAxu13IIZvp/wkbB4VoLs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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