SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a4e9f4986b0d33f489aa42356224a2bff7f15291e86d490287e5f0fb48d7ef41' 
  AND token = 'Yf66W91h4/tqpRt8LEZXq3k6xkvG9EyAgZwcFamZWjw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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