SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a8692b1d8e4c7141bf23069f5ed9fe63003e5df475ff0772224b129e3290bb44' 
  AND token = 'P64Gq3PL39LrfTJNdBna3PGNCmHrC7/2OTSp0YSoP9k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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