SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1c7ee8d634fecf60c5728a2cdc7c9f0591433f538f0effee2e17853fe3c81efb' 
  AND token = 'qHW+7o0/EfVfdWFipsE3qe7G03JxW+gEuK3RNY8OqlQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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