SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '017e9f7c20d646bf57aa920eb540170a811549470adb764da8ea8ccf6adfebe5' 
  AND token = 'Ma2CqAv6l9fTC8ipC8sgEKIWM4biaaThIY7DpCcYYJU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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