SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '38e8b106d8f918f8f295129ff8d09e13b08384376f5a954db2bb39b9fa123c2e' 
  AND token = 'wbrn3M5QQRYZmEziGA6g72ghVs39jQIVLkwL55LvE4I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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