SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0e2ac6a90513810bf8c5e362b2532971dcb072106a5995cef215bddcded1e8ac' 
  AND token = '9OnjTN74rUHgE3fjvsBMCZWUoOyfjcXiu1VpTTVk7Eo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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