SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f6525f214692f2a6947ec0a88bfd5ad938076df075fc69e0841260a0be0d8348' 
  AND token = 'v88pDs+nVLwP2sxAp9ZMeEmJu67CAX+q6UIglt4s2eo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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