SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3c162086a31a9d495d37f068dcedba80a553db01218f1a91e81bf62df348be93' 
  AND token = 'sgu0nYkiXUprjgd7YNB+PMatsIH7lP91T68eIZfh8mA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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