SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b23d6a1cba8d3e8a60c61c7553488f130475d29d48775fcf142ca4c7ab54d563' 
  AND token = 'a0m8aRhEi5xcUHZ0HqEvW6aRRQJwR6jrBSi/GRiNin4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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