SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2378006680f0188f4afc39d1dcafabc10d12a840371d49c62adcdb3c886c71a4' 
  AND token = '86NQUfMw4cMOj9h/b1ISuXHxbyQHO4jEngycC7LR5Wc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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