SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7aa322ed8c95e7b36221cefe41478fc4cf57d68a8136b049842c12a723e19879' 
  AND token = 'P/tNsvcL9IqLOoiqSjpMn5zc6zcSAWvBna4pkdEWw4M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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