SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '22bbeb27c2521a385d7e2409c8a054c2b4f1395129008f37916db3f677443784' 
  AND token = 'l7LTxzPVt1CwwX/Cq91KZ8/xvntDsEj9JZWWprE4K0U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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