SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b22f76405f16230c5bdf23fa71b9c615aea3ec533d844c5de411574fb289f8bc' 
  AND token = '8emr0R+AB8GT/uG0tvbPJCWdX9o0wuFr+boGZzQqWTk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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