SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51c0b18eeacea98a643ec1a35401262b6bbd247994d114d33481a09736a6ca2d' 
  AND token = '4hWKgEER1S/5STug2EFqsrxU+jUscsUryo3BH8yb7CE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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