SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aa8f3f6ffa2286366b2bc3767169cb721d91b07ca000642408ad3d5273256a48' 
  AND token = 'piA6kwYdg7vvCsFnRi4dbzgHQEBYM1bQVbv4qZ7rOIo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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