SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '291b186c1e47f248a4bd7381a212bec2ec49e1108d873c36a6c4ec741083806a' 
  AND token = 'oqZM9ySblgeyeamWZ0W5A79UyUE6A1V0Docre1ofMAY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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