SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7d915b7d5e3fbe609429b850d93a66e5693345389b0bd219d24c11b9a172958d' 
  AND token = '7uzpH+kUH2BN/9xHVmLY19Vup/+EVw1fIHLadfjFCdU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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