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

Query time 0.00032

JSON explain

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