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

Query time 0.00043

JSON explain

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