SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a9ef502d63c8b7ee5709abb9869f88d6c823d056b71172cb77c12365629196df' 
  AND token = 'gByjvGcuWEzODVBhb2+xL2ZaE57EK/leyebLbSeOGDc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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