SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ccc6537cf0531d610bc5a4a317bfc21b0f092981a53839611232fdec05a5b68f' 
  AND token = 'YLNKRYNIn2wdGHXjGDS0ahUAMcw/EOUQ2Sryj6X/gww=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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