SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8e10f125fc0d583ebc6e134a720f468c7e8343b4627af36c124be252db2a2e26' 
  AND token = '7ftmYIo0mYi3D6X4wi0Yvyl1airLWmDCIpaT/icm4Xs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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