SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6f498d36262264cb79d513c313e43e60694e36f5c02b6d343a4df6ce0239cabf' 
  AND token = 'Nkec4MNj0VJSH9VT6l/UZYwfEvGDpgfI8ireI2bjcZI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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