SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '365caadd80988e347960d0a932be15811f21f08a037c657fe2d433ea35a72da3' 
  AND token = 'PPX8xdITWKkuYFRlh29dO+ZLJzP4qhca7heIOQ5lA6g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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