SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1bc28947ebb6532d73647be451704f51f4af66eb0582346e66404a928849dcf7' 
  AND token = 'XzURgGTI4r2aO7YXdWltdSFdomduUaTdNb9ciqbYU30=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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